<!DOCTYPE html>
<html lang="zh-CN">
<head>
    <meta charset="utf-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1, user-scalable=no">
    <meta name="author" content="李愧愧">
    <title></title>
    <style>
        ul{
            padding: 0;
            margin: 0;
            list-style: none;
        }
        li{
            width: 110px;
            height: 110px;
            float: left;
            background-color: #f0f0f0;
            margin: 10px;
            border: 1px solid black;
            box-sizing: border-box;
            position: relative;
        }
        .box{
            width: 654px;
            height: 320px;
            border: 2px solid black;
            margin: 0 auto;
            box-sizing: border-box;
            background-color: #e0e0e0;
        }
        .box>p{
            width: 100%;
            text-align: center;
            font-weight: bolder;

        }
        ul li>p{
            text-align: center;
            color: #666;
            font-weight: bold;
        }
        .img{
            position: absolute;
            top: 0px;
            z-index: 1;
            width: 110px;
            height: 110px;
            display: none;
        }
        .img img{
            width: 100%;
            height: 100%;
            
        }
        li:hover .img {
            display: block;
        }
        li:hover .img img{
            transform: scale(1.3);
        }
    </style>
</head>
<body>
    
    <div class="box">
        <p>名车车标展示</p>
        <ul>
            <li>
                <p>BMW</p>
                <p>宝马汽车</p>
                <div class="img">
                    <img src="./img/1.jpg" alt="">
                </div>
            </li>
            <li>
                <p>BMW</p>
                <p>宝马汽车</p>
                <div class="img">
                    <img src="./img/2.jpg" alt="">
                </div>
            </li>
            <li>
                <p>BMW</p>
                <p>宝马汽车</p>
                <div class="img">
                    <img src="./img/3.jpg" alt="">
                </div>
            </li>
            <li>
                <p>BMW</p>
                <p>宝马汽车</p>
                <div class="img">
                    <img src="./img/4.jpg" alt="">
                </div>
            </li>
            <li>
                <p>BMW</p>
                <p>宝马汽车</p>
                <div class="img">
                    <img src="./img/5.jpg" alt="">
                </div>
            </li>
            <li>
                <p>BMW</p>
                <p>宝马汽车</p>
                <div class="img">
                    <img src="./img/6.jpg" alt="">
                </div>
            </li>
            <li>
                <p>BMW</p>
                <p>宝马汽车</p>
                <div class="img">
                    <img src="./img/7.jpg" alt="">
                </div>
            </li>
            <li>
                <p>BMW</p>
                <p>宝马汽车</p>
                <div class="img">
                    <img src="./img/8.jpg" alt="">
                </div>
            </li>
            <li>
                <p>BMW</p>
                <p>宝马汽车</p>
                <div class="img">
                    <img src="./img/9.jpg" alt="">
                </div>
            </li>
            <li>
                <p>BMW</p>
                <p>宝马汽车</p>
                <div class="img">
                    <img src="./img/10.jpg" alt="">
                </div>
            </li>
        </ul>
    </div>
<script>
    
</script>
</body>
</html>